package com.baox.agridata.synchronous.service.shanxi.impl;

import com.baox.agridata.synchronous.dao.shanxi.TXDRFarmMapper;
import com.baox.agridata.synchronous.entity.quanguo.McGrxxs;
import com.baox.agridata.synchronous.entity.quanguo.McQyxxs;
import com.baox.agridata.synchronous.service.shanxi.TXDRFarmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TXDRFarmServiceImpl implements TXDRFarmService {

    @Autowired
    private TXDRFarmMapper txdrFarmMapper;


    @Override
    public List<McQyxxs> selectCompanyFarm() {
        return txdrFarmMapper.selectCompanyFarm();
    }

    @Override
    public List<McGrxxs> selectPersonFarm(String createTime) {
        return txdrFarmMapper.selectPersonFarm(createTime);
    }
}
